package com.io.reader1;
import java.io.*;

public class Test3 {

	public static int i =2;
	public static void main(String[] args)  {
		i ++;
		try {
				FileOutputStream fos=new FileOutputStream("D:\\demotext.txt") ;
				try {
					fos. write('c');
					fos. write('b');
					fos. close() ;
				} catch (IOException e) {
					e. printStackTrace() ;
				}
		}catch (FileNotFoundException e) {
				e. printStackTrace() ;
		}
			

		
		
	}

}
